﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003AB RID: 939
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DeleteSummonUnitScRsp : IMessage<DeleteSummonUnitScRsp>, IMessage, IEquatable<DeleteSummonUnitScRsp>, IDeepCloneable<DeleteSummonUnitScRsp>, IBufferMessage
	{
		// Token: 0x17000C0C RID: 3084
		// (get) Token: 0x06002A03 RID: 10755 RVA: 0x000742E0 File Offset: 0x000724E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DeleteSummonUnitScRsp> Parser
		{
			get
			{
				return DeleteSummonUnitScRsp._parser;
			}
		}

		// Token: 0x17000C0D RID: 3085
		// (get) Token: 0x06002A04 RID: 10756 RVA: 0x000742E7 File Offset: 0x000724E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DeleteSummonUnitScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000C0E RID: 3086
		// (get) Token: 0x06002A05 RID: 10757 RVA: 0x000742F9 File Offset: 0x000724F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DeleteSummonUnitScRsp.Descriptor;
			}
		}

		// Token: 0x06002A06 RID: 10758 RVA: 0x00074300 File Offset: 0x00072500
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeleteSummonUnitScRsp()
		{
		}

		// Token: 0x06002A07 RID: 10759 RVA: 0x00074313 File Offset: 0x00072513
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeleteSummonUnitScRsp(DeleteSummonUnitScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.entityIdList_ = other.entityIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002A08 RID: 10760 RVA: 0x00074349 File Offset: 0x00072549
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeleteSummonUnitScRsp Clone()
		{
			return new DeleteSummonUnitScRsp(this);
		}

		// Token: 0x17000C0F RID: 3087
		// (get) Token: 0x06002A09 RID: 10761 RVA: 0x00074351 File Offset: 0x00072551
		// (set) Token: 0x06002A0A RID: 10762 RVA: 0x00074359 File Offset: 0x00072559
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000C10 RID: 3088
		// (get) Token: 0x06002A0B RID: 10763 RVA: 0x00074362 File Offset: 0x00072562
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> EntityIdList
		{
			get
			{
				return this.entityIdList_;
			}
		}

		// Token: 0x06002A0C RID: 10764 RVA: 0x0007436A File Offset: 0x0007256A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DeleteSummonUnitScRsp);
		}

		// Token: 0x06002A0D RID: 10765 RVA: 0x00074378 File Offset: 0x00072578
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DeleteSummonUnitScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.entityIdList_.Equals(other.entityIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002A0E RID: 10766 RVA: 0x000743C8 File Offset: 0x000725C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.entityIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002A0F RID: 10767 RVA: 0x00074415 File Offset: 0x00072615
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002A10 RID: 10768 RVA: 0x0007441D File Offset: 0x0007261D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002A11 RID: 10769 RVA: 0x00074428 File Offset: 0x00072628
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.entityIdList_.WriteTo(ref output, DeleteSummonUnitScRsp._repeated_entityIdList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002A12 RID: 10770 RVA: 0x00074478 File Offset: 0x00072678
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.entityIdList_.CalculateSize(DeleteSummonUnitScRsp._repeated_entityIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002A13 RID: 10771 RVA: 0x000744CC File Offset: 0x000726CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DeleteSummonUnitScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.entityIdList_.Add(other.entityIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002A14 RID: 10772 RVA: 0x00074519 File Offset: 0x00072719
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002A15 RID: 10773 RVA: 0x00074524 File Offset: 0x00072724
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U && num != 26U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.entityIdList_.AddEntriesFrom(ref input, DeleteSummonUnitScRsp._repeated_entityIdList_codec);
				}
			}
		}

		// Token: 0x0400109E RID: 4254
		private static readonly MessageParser<DeleteSummonUnitScRsp> _parser = new MessageParser<DeleteSummonUnitScRsp>(() => new DeleteSummonUnitScRsp());

		// Token: 0x0400109F RID: 4255
		private UnknownFieldSet _unknownFields;

		// Token: 0x040010A0 RID: 4256
		public const int RetcodeFieldNumber = 9;

		// Token: 0x040010A1 RID: 4257
		private uint retcode_;

		// Token: 0x040010A2 RID: 4258
		public const int EntityIdListFieldNumber = 3;

		// Token: 0x040010A3 RID: 4259
		private static readonly FieldCodec<uint> _repeated_entityIdList_codec = FieldCodec.ForUInt32(26U);

		// Token: 0x040010A4 RID: 4260
		private readonly RepeatedField<uint> entityIdList_ = new RepeatedField<uint>();
	}
}
